﻿
Namespace LightSwitchApplication

    Public Class DetailsAsset

        Private Sub MainAssetsTable_Loaded(succeeded As Boolean)
            ' Write your code here.
            Me.SetDisplayNameFromEntity(Me.MainAssetsTable)
            Me.DisplayName = Me.MainAssetsTable.Assetno.ToString

        End Sub

        Private Sub MainAssetsTable_Changed()
            ' Write your code here.
            Me.SetDisplayNameFromEntity(Me.MainAssetsTable)
        End Sub

        Private Sub DetailsAsset_Saved()
            ' Write your code here.
            Me.SetDisplayNameFromEntity(Me.MainAssetsTable)
        End Sub

        Private Sub DetailsAsset_Activated()
            ' Write your code here.

        End Sub
    End Class

End Namespace